import com.chexiaoy.lab.service.DriverService
import org.crsh.cli.Command
import org.crsh.cli.Usage
import org.springframework.beans.factory.annotation.Autowired

public class DriverInfo {

    @Autowired
    private DriverService service;

    @Command
    @Usage("My Test Command")
    public String main() {
        return service.getType();
    }

    @Command
    @Usage("get the request type")
    public String type() {
        return this.service.getType();
    }
}